<%-- 
    Document   : error
    Created on : 14-05-2014, 11:36:20 AM
    Author     : ivan
--%>

<%@page import="cl.aperture.commons.ValidationException"%>
<%@page import="java.util.Enumeration"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%
Object obj= request.getAttribute("LEELA_EXCEPTION_OBJECT");
ValidationException ve=null;
if(obj!=null && (obj instanceof ValidationException)){
    ve=(ValidationException)obj;
}
%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <h1>ERROR!</h1>
        <% if(ve!=null){ %>
        <p><%=(ve.getMessage())%></p>
        <%}%>
    </body>
</html>
